package com.sven.idrivingfutureserver.common;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;


@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
@NoArgsConstructor
public class RestResponse<T> extends Response {

    private T data;

    public RestResponse(ResultCode resultCode, T data) {
        super(resultCode);
        this.data = data;
    }
}
